
const state = {
  handleType: 'add', // 新增还是编辑
  isResizeList: false, // 重新刷新list数据
  resizeAPPList: false // 刷新小程序内容剧场的列表
}

const mutations = {
  set_handleType(state, data) {
    state.handleType = data
  },

  set_isResizeList() {
    state.isResizeList = true
    setTimeout(() => {
      state.isResizeList = false
    }, 2000)
  },
  set_resizeAPPList() {
    state.resizeAPPList = true
    setTimeout(() => {
      state.resizeAPPList = false
    }, 500)
  }

}

const actions = {

}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
